package qf.module.mybatis.service.impl;

import org.springframework.stereotype.Service;
import qf.module.mybatis.dao.ApiReqInfoDao;
import qf.module.mybatis.entity.ApiReqInfo;
import qf.module.mybatis.service.ApiReqInfoService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ApiReqInfoServiceImpl implements ApiReqInfoService {

    @Resource
    private ApiReqInfoDao dao;
    @Override
    public List<ApiReqInfo> findAll() {
        return dao.findAll();
    }

    @Override
    public ApiReqInfo save(ApiReqInfo apiReqInfo) {
        dao.save(apiReqInfo);
        return apiReqInfo;
    }
}
